Skip to content

compile ACS and police data#36

Open
maggiesu0725 wants to merge 7 commits into
masterfrom
request-#35
Open

compile ACS and police data#36
maggiesu0725 wants to merge 7 commits into
masterfrom
request-#35

Conversation

@maggiesu0725

Copy link
Copy Markdown
Contributor

No description provided.

@ghost ghost assigned maggiesu0725 Oct 5, 2018
@ghost ghost added the in progress label Oct 5, 2018
@maggiesu0725

Copy link
Copy Markdown
Contributor Author

@ptatian I'm getting an error regarding the geo variable defined in the macro

@ptatian

ptatian commented Oct 5, 2018

Copy link
Copy Markdown
Contributor

@maggiesu0725 What is the error that you are getting?

@maggiesu0725

Copy link
Copy Markdown
Contributor Author

the geo var is missing so I can't merge ACS with police data, even if I've kept all the geo macro vars in the dataset, the error reads "ERROR: BY variable run is not on input data set WORK.ACS.
ERROR: BY variable run is not on input data set WORK.VIOLENTCRIME.
" @ptatian


data ACS_&geosuf;
merge ACS violentcrime ;
by &geo

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maggiesu0725 You are missing a semicolon here.

When you see a message like "BY variable run ..." that refers to a SAS keyword (run) rather than an actual variable name, that usually is the result of a missing semicolon.

@maggiesu0725

Copy link
Copy Markdown
Contributor Author

@rpitingolo the program for compiling 2006-2010 data: Compile ACS data_06-10 I just rerun the program and still getting the extra state I don't want?

@rpitingolo

Copy link
Copy Markdown
Contributor

@maggiesu0725 I'm looking into this.

@rpitingolo

Copy link
Copy Markdown
Contributor

@maggiesu0725 the crime file has erroneous tract geographies. We should look into how this happened but in the short-term you can either just keep DC tracts in that file or data where violentcrimerate ^= .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants